<template>
  <div class="emoticon">
    <div class="icon_emoticon" v-for="item, index in icons" :key="index">
      <Icon class="icon" :icon="item" />
    </div>
  </div>
</template>

<script setup lang="ts" name="Emoticons">
//@ts-ignore
import { Icon } from '@iconify/vue';
defineProps<{ icons: Array<string>, isOne?: boolean }>()









</script>

<style lang="scss" scoped>
.emoticon {
  position: absolute;
  padding: 10px 20px;
  border-radius: 10px;
  bottom: 50px;
  right: 0;
  display: grid;
  width: 200px;
  // height: 150px;
  overflow: hidden;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  background-color: white;

  >div {
    height: 50px;
    width: 50px;
  }

  .icon_emoticon {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;

    &:hover {
      background-color: rgba($color: #000000, $alpha: .2);
    }

    >.icon {
      font-size: 32px;
    }
  }
}
</style>